package com.tomkk.entity;

import java.util.ArrayList;

public class News {
    private String news_title;
    private String news_content;
    private int news_id;
    private String publisher;
    private boolean news_isuse;
    private String news_publish_time;
    private ArrayList<NewsComment> comments;

    public News(String news_title, String news_content, int news_id, String nickname, boolean news_isuse, String news_publish_time,ArrayList<NewsComment> comments) {
        this.news_title = news_title;
        this.news_content = news_content;
        this.news_id = news_id;
        this.publisher = nickname;
        this.news_isuse = news_isuse;
        this.news_publish_time = news_publish_time;
        this.comments = comments;
    }
}
